Document Solutions for Word
DS.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / PictureCollection Class / Add Method / Add(Byte[],String) Method
The image data representing the picture.
The content type of the image data.

In This Topic
    Add(Byte[],String) Method
    In This Topic
    Adds a Picture to this collection at the InsertLocation.End location.
    Syntax
    'Declaration
     
    Public Overloads Function Add( _
       ByVal imageBytes() As System.Byte, _
       ByVal contentType As System.String _
    ) As Picture
    public Picture Add( 
       System.byte[] imageBytes,
       System.string contentType
    )

    Parameters

    imageBytes
    The image data representing the picture.
    contentType
    The content type of the image data.

    Return Value

    The added Picture.
    See Also